package com.sinodata.bsm.itip.collector;

import java.util.List;

import com.sinodata.bsm.common.vo.ResPropertyValue;
import com.sinodata.bsm.itip.exception.CollectorException;

/**
 * 
 * <p>
 * Description: 采集接口
 * </p>
 *
 * @author liulibo
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2012-12-26 AM 10:25:38   liulibo        1.0         To create
 * </p>
 *
 * @since 
 * @see
 */
public interface ICollector {

    /**
     * 根据给定的属性值数组，采集某个资源的指标值。（采集程序已对应一个指标组） 返回值:List of String[]
     * 
     * @param resourceAttributes
     * @param ip
     * @return
     */
    public List<ResPropertyValue> collect(String ip) throws CollectorException;

}
